package com.zrfintech.manage.util;

public class RequestContextUtil {
    protected static ThreadLocal<String> realUser = new ThreadLocal<>();

    public static String getRealUser() {
        return realUser.get();
    }

    public static void setRealUser(String user) {
        RequestContextUtil.realUser.set(user);
    }

    public static void clear() {
        realUser.set(null);
    }
}
